package my.assistant.homecashmanager.account.data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 账户基本信息
 * 
 * @author eagle
 * 
 */
public class AccountBase {
	private String id;// 账户ID
	private String name;// 账户名称
	private String explain;// 账户说明
	private String type;// 账户类型：1.现金账户；2.银行账户；3.债权债务账户
	private String userId;// 账户所属人
	private String homeId;// 账户所属家庭
	private String moneyType;// 币种。默认：01，即人民币
	private BigDecimal balance;// 余额
	private Date latestDealDate;// 最后交易日期
	private boolean status;// 账户当前状态。true:正常;false:停用

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getExplain() {
		return explain;
	}

	public void setExplain(String explain) {
		this.explain = explain;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getHomeId() {
		return homeId;
	}

	public void setHomeId(String homeId) {
		this.homeId = homeId;
	}

	public String getMoneyType() {
		return moneyType;
	}

	public void setMoneyType(String moneyType) {
		this.moneyType = moneyType;
	}

	public BigDecimal getBalance() {
		return balance;
	}

	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

	public Date getLatestDealDate() {
		return latestDealDate;
	}

	public void setLatestDealDate(Date latestDealDate) {
		this.latestDealDate = latestDealDate;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
}
